<?php
class MedicalinsuranceModel extends Orm_Base{
    public $table = 'medical_insurance';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'sid' => array('type' => "int(11)",'comment' => '关联老年人ID'),
        'card_number' => array('type' => "varchar(18)",'comment' => '医保卡号'),
        'basic_fee' => array('type' => "int(10)",'comment' => '基础费用'),
        'charge_discount' => array('type' => "tinyint(2)",'comment' => '收费折扣'),
        'payment' => array('type' => "tinyint(1)",'comment' => '支付方式'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );
    public $pk = 'id';
}
?>
